#include "bookitemlist_plugin.h"
#include "bookitemlist.h"
#include "book.h"
#include "bookpage.h"
#include <QtDeclarative/qdeclarative.h>


void BookitemlistPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(uri==QLatin1String("com.juhanapaavola.qmlcomponents"));
    qmlRegisterType<BookItemList>(uri, 1, 0, "BookItemList");
    qmlRegisterType<Book>(uri, 1, 0, "Book");
    qmlRegisterType<BookPage>(uri, 1, 0, "BookPage");
}

Q_EXPORT_PLUGIN2(Bookitemlist, BookitemlistPlugin)

